#ifndef CARSPEEDCHANGEEVENT_H_
#define CARSPEEDCHANGEEVENT_H_

#include "Event.h"

class CarSpeedChangeEvent: public Event {
public:
	CarSpeedChangeEvent(int carSpeed) {
		this->type = CarSpeedChange_Event;
		this->carSpeed = carSpeed;

	}

	virtual ~CarSpeedChangeEvent() {
	}

	virtual int getCarSpeed() {
		return this->carSpeed;
	}

private:

	int carSpeed;

};

#endif /* CARSPEEDCHANGEEVENT_H_ */
